// http://ionicframework.com/docs/v2/theming/

// App Global Sass
// --------------------------------------------------
// Put style rules here that you want to apply globally. These
// styles are for the entire app and not just one component.
// Additionally, this file can be also used as an entry point
// to import other Sass files to be included in the output CSS.
//
// Shared Sass variables, which can be used to adjust Ionic's
// default Sass variables, belong in "theme/variables.scss".
//
// To declare rules for a specific mode, create a child rule
// for the .md, .ios, or .wp mode classes. The mode class is
// automatically applied to the <body> element in the app.

input, h1, button {
  font-family: "Microsoft YaHei";
}

::-webkit-scrollbar {
  display: none !important;
}

$lightBlue: #0ab0e4;
$bg-color: #eee;
$title: #fff;
$white: #fff;
$padding: 10px;
$border-color: #ddd;
html, body {
  color: #666 !important;
}

ion-header {
  text-align: center;
}

.toolbar-background {
  background-color: $lightBlue;
  border-color: transparent !important;
}

.toolbar-title {
  color: $title;
}

.back-button {
  display: none !important;
}

.scroll-content {
  padding: $padding !important;
}

.content {
  background: $bg-color;
  color: #666 !important;
}

.left {
  float: left;
}

.right {
  float: right;
}

//遮罩层
.component-alert {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2;
}

//确认弹出框
#myBox {
  width: 100%;
  padding: 10px;
  overflow: hidden;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#myBox .tit {
  font-size: 18px;
  line-height: 30px;
  color: $lightBlue;
  text-align: center;
  border-bottom: 1px solid $lightBlue;
}

#myBox .tips {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  height: 120px;
  text-align: center;
}

#myBox .btns {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  bottom: 0;
}

#myBox .btn-cancel {
  border: 1px solid $lightBlue;
  background-color: $white;
  color: $lightBlue;
}

#myBox .btn-choose {
  background-color: $lightBlue;
}

//不同弹出框的按钮
#myBox.spac-box {
  padding: 0;
}

#myBox.spac-box .btns .btn {
  width: 50%;
  margin: 0;
}

#myBox.spac-box .btn-cancel {
  color: #666 !important;
  border: 1px solid $border-color;
}

#myBox.spac-box .btn-choose {
  background-color: #32b16c;
}



